/* components/goodsItem/goodsItem.wxss */
.goods {
  display: flex;
  width: 750rpx;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #f9f9f9;
  padding-top: 16rpx;
}
.goods-item {
  width: 348rpx;
  height:688rpx;
  background-color: #fff;
  margin-bottom: 16rpx;
  border-radius: 20rpx;
  overflow: hidden;
  position: relative;
  &:nth-child(2n-1) {
    margin-left: 20rpx;
  }
  &:nth-child(2n) {
    margin-right: 20rpx;
  }
}
.img {
  width: 348rpx;
  height: 520rpx;
}
.content {
  margin:16rpx 22rpx 0;
}
.title1 {
  color: #262626;
  font-size: 23rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.title2 {
  color: #262626;
  font-size: 23rpx;
  line-height: 36rpx;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.active {
  height: 28rpx;
  border: 2rpx solid #ff4062;
  padding: 1rpx 2rpx;
  color: #ff4062;
  font-size: 20rpx;
}
.last {
  font-size: 16rpx;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 12rpx;
  position: absolute;
  bottom: 15rpx;
  width: 315rpx;
}
.price {
  font-size: 23rpx;
  color: #ff4062;
  margin-top: 8rpx;
}
.sales {
  font-size: 20rpx;
  color: #ff4062;
  padding: 8rpx 10rpx;
  background-color:#ffecee;
  border-radius: 20rpx;
  
}
.small-sales {
  font-size: 18rpx;
  margin-top: -2rpx;
}